package com.digital.welcome.websocket.mywebsocket;

import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Future;

import javax.websocket.CloseReason;

import com.digital.welcome.websocket.mywebsocket.model.WebSocketMessage;

public interface IWebSocketSession {
    Long GetWebSocketId();
    Future SendMessage(long webSocketId, ArrayList<WebSocketMessage> sendMessages) throws Exception;
    void ClientClose(long webSocketId, CloseReason reason);
}
